const router = require('koa-router')()
const { reviewBook, getReview } = require('../controllers/review')
router.prefix('/review')

// 添加评论
router.post('/add', reviewBook)

// 获取评论列表
router.get('/list', getReview)

module.exports = router

